<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html lang="en">
 <head>
    <meta charset="UTF-8">
    <title>Ischool</title>
    <link href="<?php echo CSS_URL;?>style.css" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" type="text/css" href="<?php echo (CSS_URL); ?>bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo (CSS_URL); ?>bootstrap-theme.min.css" />
    <script type="text/javascript" src="<?php echo (JS_URL); ?>jquery-3.1.0.min.js"></script>
    <script type="text/javascript" src="<?php echo (JS_URL); ?>bootstrap.min.js"></script>
    <script src="//cdn.bootcss.com/holder/2.9.3/holder.min.js"></script>
    <style>
    .navbar-default .navbar-nav > .active > a, 
    .navbar-default .navbar-nav > .active > a:hover, 
    .navbar-default .navbar-nav > .active > a:focus {
        color: #555;
        background-color: green;
    }
 </style>

 </head>
 <body >
     <nav class="navbar navbar-default" id="top" style="margin-bottom:0px">
   <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="<?php echo (URL); ?>">Ischool</a>
    </div>
    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
            <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">文章管理 <span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li><a target="content" href="<?php echo (URL); ?>Article/articlelist">文章列表</a></li>
                    <li><a target="content" href="<?php echo (URL); ?>Article/add">添加文章</a></li>
                    <li><a target="content" href="<?php echo (URL); ?>Article/del">删除文章</a></li>
                </ul>
            </li>
            <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">通知 <span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li><a target="content" href="<?php echo (URL); ?>Info/all">全员通知</a><li>
                    <li><a target="content" href="<?php echo (URL); ?>Info/academy">院系通知</a></li>
                     <li><a target="content" href="<?php echo (URL); ?>Info/classroom">班级通知</a></li>
                </ul>
            </li>
             <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">举报 <span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li><a target="content" href="<?php echo (URL); ?>Tip/waitforread">举报箱</a><li>
                    <li><a target="content" href="<?php echo (URL); ?>Tip/alreadyread">历史举报</a></li>
                </ul>
            </li>
            <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">用户管理 <span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li><a target="content" href="<?php echo (URL); ?>User/waitforcheckuser">注册审核</a></li>
                     <li><a target="content" href="<?php echo (URL); ?>User/search">学生查询</a></li>
                     <li><a target="content" href="<?php echo (URL); ?>User/addadmin">添加管理员</a></li>
                     <li><a target="content" href="<?php echo (URL); ?>User/adminlist">管理员列表</a></li>
                     
                </ul>
            </li>
           
      </ul>
        <ul class="nav navbar-nav navbar-right">
        <li><p class="navbar-text">欢迎您，<a href="#" class="navbar-link"><?php echo ($_SESSION[Admin_name]); ?></a></p></li>
         <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">修改个人信息<span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#">修改密码</a></li>
          </ul>
        </li>
        <li><a href="<?php echo (URL); ?>login/logout">安全退出</a></li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>

<div class="embed-responsive embed-responsive-4by3" id="right" style="padding: 0px">
    <iframe class="embed-responsive-item" name="content" src="<?php echo (URL); ?>index/welcome"></iframe>
</div>
<script>
      $(function(){
          var height=$(window).height()-$("#top").height()-4;
             $("#right").height(height);
      }) 
</script>